home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
ntlpr.zip
/
LPR.TXT
< prev
Wrap
Text File
|
1993-10-13
|
2KB
|
38 lines
LPR is a Berkeley LPD client for the NT console.
It requires TCP/IP services, including properly set-up domain-name
services (if you specify hosts by name rather than IP address).
This is based on a port of the lpr client in W. Richard Steven's
book _UNIX Network Programming_, ported to use WinSock and to use
NT registry to store default host and printer names
--jon [Jon S. Whalen]
Known shortcomings:
1. No name globbing. I.e. wild cards on the command-line don't work
(since the NT console-shell doesn't perform globbing for you)
For problems send e-mail to: jon@hook.corp.mot.com
---------------------------------------------------------------------------
LPR: Version 1.0
Usage: lpr [ -{Hh} host ] [ -{Pp} printer ] [ -d ] [-?] [ file ... ]
Options:
-h direct print request to the specified "host".
-H same as -h, and set default print server to "host".
-p direct output to the specified "printer".
-P same as -p, and set default print queue to "printer".
-d print debugging information (also inhibits deletion of control file).
-? print usage information.
Notes:
1. If you have never used lpr before, the application will prompt you
for a default print host and printer name.
2. Hosts may be specified either as symbolic names or numeric IP addresses.
3. Default host and printer names are stored in the Registry under the
key "HKEY_CURRENT_USER\Software\Shareware\Lpr".
4. This program is freely distributable and is provided "AS-IS", WITHOUT
WARRANTY of any kind, either express or implied. No guarantee is made
of suitablility for any purpose, whatsoever.
Copyright (c) Jon S. Whalen 1993. All rights reserved.